package cn.akwangl.design.pattern.structural.bridge;

/**
 * 组件的具体实现.
 *
 * @author youyongkun
 * @date 2021/11/26 15:50
 * @since 1.0
 */
public class SavingAccount implements Account {
    @Override
    public Account openAccount() {
        System.out.println("打开活期账号");
        //...
        return new SavingAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个活期账号");
    }
}
